---
sidebar_label: list
description: |-
  The "policy list" command Lists the names of the policies that are installed
  on the OpenBao server.
---

# policy list

The `policy list` command Lists the names of the policies that are installed on
the OpenBao server.

## Examples

List the available policies:

```shell-session
$ bao policy list
default
root
```

## Usage

The following flags are available in addition to the [standard set of
flags](/docs/commands) included on all commands.

### Output options

- `-format` `(string: "table")` - Print the output in the given format. Valid
  formats are "table", "json", or "yaml". This can also be specified via the
  `BAO_FORMAT` environment variable.
